Technical Q&AJava 13 - Creating
|
sun.tools.serialver.SerialVer |
set the optional parameters to:
-show |
You will need to add the classes you are concerned with to the classpath. This can be done in a couple ways:
Once you are done configuring the settings in JBindery, save the settings as an application, and use this resulting JBound application to launch the SerialVer
program from the Finder.
As an example, I added a manual entry of file:///$APPLICATION/
to my classpath. This adds the folder the JBound application is in to the classpath and is useful because the target classes can be moved into the folder, and then accessed
from the SerialVer
program.
By adding a manual entry of file:///$APPLICATION/
to the classpath, the Java environment will look in this folder (the application's folder) for classes it needs to load. This requires the classes be ".class" files, and not ".zip" or ".jar "files, and it requires the classes to be placed in a directory structure which represents the package the class belongs to. For instance, if I wanted the application to be able to see my class named Foo
which has been defined to be in the levi.random.misc.stuff
package then I would arrange my files like this: